package com.qf.bean;

import java.util.List;

/**
 * 10/12/2019
 * Echo
 * sassspringboot
 * Alibaba
 */
public class Commodity {
    private Integer id;
    private String commCode;
    private String commBarCode;
    private String commName;
    private Integer brandId;
    private Integer commTypeId;
    private String capacity;
    private String size;
    private double weight;
    private Integer volume;
    private String address;
    private String packge;
    private String des;
    private Integer status;
    private Integer salesVolume;
    private double jhPrice;
    private double cbPrice;
    private Integer kunncunId;
    private CommBrand commBrand;
    private CommType commType;
    private List<Channel> channelList;
    private Integer cstatus;
    private Goods goods;

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    //这里是中间表的售价以及成交价格
    private List<Middle> middleList;

    public List<Middle> getMiddleList() {
        return middleList;
    }

    public void setMiddleList(List<Middle> middleList) {
        this.middleList = middleList;
    }

    public Integer getCstatus() {
        return cstatus;
    }

    public void setCstatus(Integer cstatus) {
        this.cstatus = cstatus;
    }

    public CommBrand getCommBrand() {
        return commBrand;
    }

    public void setCommBrand(CommBrand commBrand) {
        this.commBrand = commBrand;
    }

    public CommType getCommType() {
        return commType;
    }

    public void setCommType(CommType commType) {
        this.commType = commType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCommCode() {
        return commCode;
    }

    public void setCommCode(String commCode) {
        this.commCode = commCode;
    }

    public String getCommBarCode() {
        return commBarCode;
    }

    public void setCommBarCode(String commBarCode) {
        this.commBarCode = commBarCode;
    }

    public String getCommName() {
        return commName;
    }

    public void setCommName(String commName) {
        this.commName = commName;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public Integer getCommTypeId() {
        return commTypeId;
    }

    public void setCommTypeId(Integer commTypeId) {
        this.commTypeId = commTypeId;
    }

    public String getCapacity() {
        return capacity;
    }

    public void setCapacity(String capacity) {
        this.capacity = capacity;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public Integer getVolume() {
        return volume;
    }

    public void setVolume(Integer volume) {
        this.volume = volume;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPackge() {
        return packge;
    }

    public void setPackge(String packge) {
        this.packge = packge;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSalesVolume() {
        return salesVolume;
    }

    public void setSalesVolume(Integer salesVolume) {
        this.salesVolume = salesVolume;
    }

    public double getJhPrice() {
        return jhPrice;
    }

    public void setJhPrice(double jhPrice) {
        this.jhPrice = jhPrice;
    }

    public double getCbPrice() {
        return cbPrice;
    }

    public void setCbPrice(double cbPrice) {
        this.cbPrice = cbPrice;
    }

    public Integer getKunncunId() {
        return kunncunId;
    }

    public void setKunncunId(Integer kunncunId) {
        this.kunncunId = kunncunId;
    }

    public List<Channel> getChannelList() {
        return channelList;
    }

    public void setChannelList(List<Channel> channelList) {
        this.channelList = channelList;
    }

    @Override
    public String toString() {
        return "Commodity{" +
                "id=" + id +
                ", commCode='" + commCode + '\'' +
                ", commBarCode='" + commBarCode + '\'' +
                ", commName='" + commName + '\'' +
                ", brandId=" + brandId +
                ", commTypeId=" + commTypeId +
                ", capacity='" + capacity + '\'' +
                ", size='" + size + '\'' +
                ", weight=" + weight +
                ", volume=" + volume +
                ", address='" + address + '\'' +
                ", packge='" + packge + '\'' +
                ", des='" + des + '\'' +
                ", status=" + status +
                ", salesVolume=" + salesVolume +
                ", jhPrice=" + jhPrice +
                ", cbPrice=" + cbPrice +
                ", kunncunId=" + kunncunId +
                ", commBrand=" + commBrand +
                ", commType=" + commType +
                ", channelList=" + channelList +
                ", cstatus=" + cstatus +
                ", middleList=" + middleList +
                '}';
    }
}
